<include file="Public:header"/>
    <div id="body" class="fix-float">
    	<div class="ie6hack">
   				<table class="hack-ie">
		    		<tbody>
		    			<!-- 左侧树开始 -->
		    			<tr valign="top">
							<td class="content-L hack-ie">
								<php>if(Cookie::get('username')=='admin'){</php> <include file="public:admin"/> <php>}</php>
								<div class="controls">
									<ul>
										<li class="first">&nbsp;</li>
										<li>
											<a href="#">
												<span class="inner">
													<img src="../Public/imgcache/imgs/none.gif" class="small_logo absbottom KoolPHPSuite" alt="KoolPHPSuite"> 
													<span> CGI 列表</span>
												</span>
											</a>
										</li>
									</ul>
								</div>
								<div id="cgitree" class="ksmenuKSM" style="width: auto;">
								</div>
								<div class="controls">
									<ul>
										<li class="first">&nbsp;</li>
										<li>
											<a href="#">
												<span class="inner">
													<img src="../Public/imgcache/imgs/none.gif" class="small_logo absbottom KoolPHPSuite" alt="KoolPHPSuite"> 
													<span>CGI 自动化用例</span>
												</span>
											</a>
										</li>
									</ul>
									<div style="height: 70px;"></div>
								</div>
							</td>
			        	<!-- 右侧工作区开始 -->
			        	<td class="content-R" id="workspace">
							<!-- 右侧工作区用户查看模版开始 -->
						    <div id="main-content">
						    	<!-- 顶部红色上边框开始 -->
						   		<table class="maintop">
						   			<tbody>
						   				<tr>
						   					<td class="tl"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
						   					<td class="tc"><div>&nbsp;</div></td>
						   					<td class="tr"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
						 					</tr>
									</tbody>
								</table>
								<!-- 顶部红色上边框结束 -->
						       	<div id="middle">
						       		<div id="main">
						           		<div class="component-title fix-float">
						           			<h1>
						           				<span class="left">
						           					<img src="../Public/imgcache/imgs/icon.png" class="absbottom" alt=""> 用户查看
						          				</span>
						       				</h1>
						 				</div>
						 				<hr></hr>
						 				<!-- 分割线结束 -->
						 				<!-- 用户查看开始 -->
						                <div class="detail"> 
						                   	<div class="TabView" id="TabView" style="width:88%;">
						                         <div class="Pages" style="width: 99%;padding:4px;overflow:auto;">
						                         	<form action="__APP__/User/index" method="post">
						                         			关键词：<input type="text" name="keywords" value=""/>
															查询类型：
															<select name="type">
																<option value="username">用户名</option>
																<option value="name">邮箱</option>
																<option value="email">手机</option>
															</select>
															<input type="submit" value="GO">
						                         	</form>
						                         	<table style="border:1px solid #E0E0E0;font-family: Tahoma;font-size: 12px;color:#5E5E5E"">
						                         		<tbody>
						                         			<tr>
						                         				<th class="userinfhead" width=7%>用户名</th>
						                         				<th class="userinfhead" width=7%>密码</th>
						                         				<th class="userinfhead" width=15%>邮箱</th>
						                         				<th class="userinfhead"  width=10%>手机</th>
						                         				<th class="userinfhead"  width=6%>是否激活</th>
						                         				<th class="userinfhead"  width=15%>修改时间</th>
						                         				<th class="userinfhead"  width=20%>操作</th>
						                         			</tr>
						                         			<volist name="userlist" id="user">
							                         			<tr>
							                         				<td class="userinfbody" >{$user.username}</td>
							                         				<if condition="$user.password eq '7bb5a5b93b39b077dee11fdf7bdde52a'"><td class="userinfbody" style="background-color: #9AFF02;">httptest</td>
							                         				<else /><td class="userinfbody" >******</td>
							                         				</if>
							                         				<td class="userinfbody" >{$user.email}</td>
							                         				<td class="userinfbody"  >{$user.phone}</td>
							                         				<td class="userinfbody"  >{$user.active}</td>
							                         				<td class="userinfbody"  >{$user.lastmodifytime}</td>
							                         				<td class="userinfbody"  >
								                         				<a href="__APP__/User/edit?username={$user.username}">
								                         					<input type="button" name="deleteuser" value="编辑" />
							                         					</a>
							                         					<a href="__APP__/User/delete?username={$user.username}">
								                         					<input type="button" name="deleteuser" value="删除" onclick="{if(confirm('您确定删除该用户吗？')){return true;}return false;}"/>
							                         					</a>
							                         					<a href="__APP__/User/resetPsw?username={$user.username}">
								                         					<input type="button" name="deleteuser" value="密码重置" onclick="{if(confirm('您确定重置该用户的密码为：httptest 吗?')){return true;}return false;}" />
							                         					</a>
							                         				</td>
							                         			</tr>
						                         			</volist>
						                         		</tbody>
						                         	</table>
						                     	 </div>
											</div>
											<div style="width:10%;text-align:left;float:right">
						               			<a href="__APP__/User/addUserPage"><input type="button" value="添加用户" id="add_user" /></a>
						              		</div>
						                    <div class="clear-this"></div>
						            	</div>
						              	<!-- 用户查看结束 -->
						           	</div>
						
						       	</div>
						       	<!-- 底部红色下边框开始 -->
						       	<table class="mainbottom">
						   			<tbody>
						   				<tr>
						   					<td class="bl"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
						   					<td class="tc"><div>&nbsp;</div></td>
						   					<td class="br"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
										</tr>
									</tbody>
								</table>
								<!-- 底部红色上边框开始 -->
							</div>
							<!-- 右侧工作区用户查看模版结束 -->			        		
			        	</td>
		        		<!-- 右侧工作区结束 -->
						</tr>
		    		</tbody>
				</table>
       			<!-- 左侧树结束 -->
		</div>
    </div>
<include file="Public:end"/>

